package com.tjakus.hibernate;

import java.sql.Date;

/**
 * 
 * This class represents statistics stored in database
 * 
 * @author tjakus
 * 
 */

public class Statistics {
	
	private int id;
	private String email;
	private Date date;
	private int mailCounter;
	private int mailCounterPerDay;
	
	public int getId() {
		return id;
	}

	public void setId(int newId) {
		this.id = newId;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String newEmail) {
		this.email = newEmail;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date newDate) {
		this.date = newDate;
	}

	public int getMailCounter() {
		return mailCounter;
	}

	public void setMailCounter(int newMailCounter) {
		this.mailCounter = newMailCounter;
	}

	public int getMailCounterPerDay() {
		return mailCounterPerDay;
	}

	public void setMailCounterPerDay(int newMailCounterPerDay) {
		this.mailCounterPerDay = newMailCounterPerDay;
	}

}
